<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 100px;
            height: 50px;
            background-color: aqua;
            margin: 10px;
        }
        .hd_ul {
            width: 130px;
            /* height: 300px; */
            background-color: aqua;
        }
        .hd_ul li {
            width: 100%;
            height: 30px;
            line-height: 30px;
            color: #333;
        }
    </style>
</head>
<body>
    <div hd="div-1">1</div>
    <div hd="div-2">2</div>
    <div hd="div-3">3</div>

    <hr>
    <h4>set:输入列表存储--不重复</h4>
    <input type="text" name="value" id="value">
    <ul name="hd" class="hd_ul"></ul>
    <!-- <script src="./2作用域闭包.js"></script> -->
    <!-- <script src="./7set类型.js"></script> -->
</body>
</html>